package com.winter.service;


import com.winter.mapper.AreaCodeMapper;
import com.winter.model.AreaCode;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaService {

    @Autowired
    private AreaCodeMapper areaCodeMapper;


    public List<AreaCode> list(Integer type, Long superId) {
        List<AreaCode> list = areaCodeMapper.list(type, superId);
        return list;
    }
}
